
namespace PolicyAlgebra.Type
{
	///<summary>
	///    This class defines a multilevel security (MLS)
	///    security level.
	///</summary>
	public class MlsLevel
	{ 
		private int level;


		///<summary>
		/// Constructor.
		///</summary>
		///<remarks>Automatically uses a level of 0 (zero)</remarks>
		public MlsLevel() : this(0) {}


		///<summary>
		/// Constructor.
		///</summary>
		///<param name="level">The level that the object describes</param>
		public MlsLevel(int level)
		{
			this.level = level;
		}


		///<summary>
		/// Property that gives read only access to the security level.
		///</summary>
		public int Level
		{
			get
			{
				return level;
			}
		}
	}
}
